@extends('backend::layout')
@section('title',$page_title)
@push('styles')
    <link href="{{asset(config('view.plugin').'/layui/layui_ext/dtree/font/dtreefont.css')}}" rel="stylesheet">
    <link href="{{asset(config('view.plugin').'/layui/layui_ext/dtree/dtree.css')}}" rel="stylesheet">
@endpush
@section('content')
    @component('backend::component.tpl_frame')
        @slot('page_title') {{$page_title}} @endslot
        @slot('tools_btn')
            <a href="{{route('b_ArticleCat_addCat')}}"
               class="btn btn-primary btn-sm"
               data-params='{"area":"80%,80%","title":"添加分类"}'
            >
                <i class="yhficon yhficon-add-class1"></i>&nbsp;添加文章分类
            </a>
        @endslot
        @slot('body_content')
            @if($list)
                <div class="card-body">
                    <ul class="list-group">
                        @include('backend::cms.article.cat_children',['list'=>$list])
                    </ul>
                </div>
            @else
                @component('backend::public.empty_page')
                    @slot('info') 暂无文章分类 @endslot
                @endcomponent
            @endif
        @endslot
    @endcomponent
@endsection
@push('scripts')
    <script>

    </script>
@endpush